home *** CD-ROM | disk | FTP | other *** search
- /*
- ** Project dialog example
- ** Module Dlog.h
- ** Author Bernie Wieser ©1991
- ** Date 10/26/91
- **
- ** Purpose
- ** Headers for the dialog code.
- **
- */
-
- /*
- ** The control list (only what is used)
- */
- enum myControls {
- BOKAY = 1,
- BCANCEL,
- BSAVE,
- ETEXTFLD,
- ENUMFLD,
- END
- };
-
- /*
- ** Easy access control handle array
- */
- typedef struct {
- Handle harray[END];
- } myData, *pMyData;
-
- /*
- ** Protos.
- */
- void GetDHandle( /* get a handle for a dialog control */
- DialogPtr dp, /* the dialog */
- short item, /* the control */
- Handle *handy /* its return handle */
- );
-
- void DialogTest( /* Main code */
- short dlogid /* Dialog to drive */
- );